local duangu_active = fk.CreateSkill {
  name = "#hanqing__duangu_active",
}

Fk:loadTranslationTable {
  ["#hanqing__duangu_active"] = "锻骨",
}

duangu_active:addEffect("active", {
  card_num = 0,
  target_num = 1,
  interaction = function(self, player)
    return UI.ComboBox { choices = {
      Player.WeaponSlot,
      Player.ArmorSlot,
      Player.OffensiveRideSlot,
      Player.DefensiveRideSlot,
      Player.TreasureSlot,
    } }
  end,
  card_filter = Util.FalseFunc,
  target_filter = function (self, player, to_select, selected, selected_cards)
    return #selected == 0 and to_select:hasEmptyEquipSlot(Util.convertSubtypeAndEquipSlot(self.interaction.data))
  end,
})

return duangu_active
